package com.photoeditor.demo.model.event;

/**
 * Created by Administrator on 2017/7/13 0013.
 */

public class RefreshStickerEvent {

    public static final int OPERATION_REFRESH = 1;
    public static final int OPERATION_REFRESH_AND_APPLY = 2;
    public static final int OPERATION_REFRESH_AND_DELETE = 3;
    public int operation;
    public String stickerPkgName;
    public String gifTitle;
    //特殊标志用于过滤
    public int flag;

    public int autoSelectPosition = -1;

    public RefreshStickerEvent(int operation, String stickerPkgName) {
        this.operation = operation;
        this.stickerPkgName = stickerPkgName;
    }
    public RefreshStickerEvent(int operation, String stickerPkgName, int autoSelectPosition) {
        this.operation = operation;
        this.stickerPkgName = stickerPkgName;
        this.autoSelectPosition = autoSelectPosition;
    }

    public RefreshStickerEvent(int operation, String stickerPkgName, String gifTitle, int autoSelectPosition) {
        this.operation = operation;
        this.stickerPkgName = stickerPkgName;
        this.gifTitle = gifTitle;
        this.autoSelectPosition = autoSelectPosition;
    }

    public RefreshStickerEvent(int operation, String stickerPkgName, String gifTitle) {
        this.operation = operation;
        this.stickerPkgName = stickerPkgName;
        this.gifTitle = gifTitle;
    }

    public RefreshStickerEvent(int operation) {
        this.operation = operation;
    }
}
